package com.remrbs.domain;

import lombok.Data;


public class User {
    /**
    * 用户ID
    */
    private Integer id;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", realname='" + realname + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex=" + sex +
                ", num=" + num +
                ", phone=" + phone +
                ", status=" + status +
                ", atschool=" + atschool +
                ", description='" + description + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Byte getSex() {
        return sex;
    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getAtschool() {
        return atschool;
    }

    public void setAtschool(Byte atschool) {
        this.atschool = atschool;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public User() {
    }

    public User(Integer id, String realname, String username, String password, Byte sex, Integer num, Integer phone, Byte status, Byte atschool, String description) {
        this.id = id;
        this.realname = realname;
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.num = num;
        this.phone = phone;
        this.status = status;
        this.atschool = atschool;
        this.description = description;
    }

    /**
    * 真实姓名
    */
    private String realname;

    /**
    * 用户名
    */
    private String username;

    /**
    * 密码
    */
    private String password;

    /**
    * 性别 0:女,1:男
    */
    private Byte sex;

    /**
    * 编号
    */
    private Integer num;

    /**
    * 手机号
    */
    private Integer phone;

    /**
    * 用户是否存在 0:存在,1:删除
    */
    private Byte status;

    /**
    * 是否在校 0:在校,1:不在
    */
    private Byte atschool;

    /**
    * 用户描述
    */
    private String description;
}